<form id="importformat-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('Project_name')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-project_id" data-rule="required" data-source="project/index"
        class="form-control selectpage" data-field="project_name" data-search-field="project_name" data-params='{"datalimit":"auth"}'
        data-primary-key="id" name="project_id" type="text" value="">
    </div>
  </div>

  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('Catename')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-catename" class="form-control selectpage" type="text" name="catename"
        data-source="project_asscess/catelist" data-field="catename" data-search-field="catename"
        data-primary-key="catename" data-multiple="true" data-pagination="false" value="" />
        <span class="help-block">
          此处选择了{:__('Catename')}，则属于这些{:__('Catename')}的材料会导入正式材价库；<br>没有选择{:__('Catename')}，则这个项目下所有材料都会导入正式材价库
        </span>
    </div>
  </div>
  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <input type="hidden" name="type" value="2" />
      <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
    </div>
  </div>
</form>